<!--提交审批指令-->
<div class="demo-modal">
	<div class="modal-header">
		<h4 class="modal-title" id="modal-title">
			提交审批
			<i class="icon icon-guanbi2" ng-click="cancel()"></i>
		</h4>
	</div>
	<div class="modal-body" id="modal-body">
		<ul class="ms-approve">
      <li><span>借款信息：</span></li>
      <span>金额：{{params.apply_money | toRMB}}元，期限：{{params.at_name}}，月利息：{{(_interest || '0')| toRMB}}元（{{params.interest || 0}}%）</span>
      <li><span><i class="red-star">*</i> 审批意见：</span><span style="float:right;">还可以输入<soan id="zishuxians">200</soan> 字</span></li>
      <textarea class="remark-text"
        ng-focus="remHight()"
        ng-class="{'error':redErr.remarks}"
        data-tag="textLength" showTag="zishuxians" maxlength="200" ng-model="param.remark">
      </textarea>
      <li>审批附件：</li>
      <input type="text" class="form-control" disabled style="display: inline-block;width: 200px;">
      <button class="btn btn-radius btn-sct" data-tag="ueloadImg" name="imgInput">本地图片</button>
      <span ng-if="attaArr[0].attachImg.length>0">&nbsp;&nbsp;共选择了{{attaArr[0].attachImg.length}}张图片</span>
      <div class="imgArr minImg img-item" >
        <span class="_pre" ng-if="attaArr[0].attachImg.length>4" ng-click="_pre(0)"></span>
          <div class="imgs" ng-repeat="(keys,items) in attaArr"  style="{{items.attachImg.length > 4? ('width:'+items.attachImg.length* 69+'px;left:'+item.left+'px'):''}}">
            <div id="gallery{{keys}}" >
              <a href="javascript:;" ng-repeat="(k,j) in items.attachImg" title="{{k+1}}/{{items.attach_img.length}}">
                <img class="img_{{items.id}}{{k}} load"  data-original="{{j}}" src="./assets/images/loading.gif" ng-init="loadImage(j,'img_'+items.id+k)">
                <i class="icon icon-minus" ng-click="deleImg($event,key)" data-idx="{{k}}"></i>
              </a>
            </div>
          </div>
        <span class="_next" ng-if="attaArr[0].attachImg.length>4" ng-click="_next(0)"></span>
      </div>
      
    
      <p><i class="icon icon-info" 
        style="color: #46ac49;
        vertical-align: middle;" ></i>
        允许上传多张图片，格式为jpg、png格式，大小不超过5M</p>
    </ul>
	</div>
	<div class="modal-footer">
    <button class="btn btn-warning" type="button" ng-click="ok(2)">取消审批</button>
    <button class="btn btn-primary" type="button" ng-click="ok(1)">确定审批</button>
	</div>
</div>